package com.itheima;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.Dept;

import java.util.List;

public interface DeptService {
    PageInfo<Dept> findByPage(int currPage, int pageSize);
    void save(Dept dept);
    Dept findById(String id);
    void update(Dept dept);
    void delete(String[] ids);
    List<Dept> findAll();

}
